<template>
  <view class="type-list-box">
    <vanScarch @goback="goUpLevel" title="搜索杰出人才"></vanScarch>

    <view class="detail-list">
      <enterprice-item
          v-for="(item,index) in typeList" @click="getTalent"
          :talentTags="item.talentTags"
          :title="item.title"
          :imageUrl="item.imageUrl"
          :list="item.list"
          :time="item.time"
          :person="item.person"
          :iconList="item.iconList"
          bgColor="#F4F5FA"></enterprice-item>

    </view>
  </view>
</template>

<script setup>
import {
  onLoad
} from '@dcloudio/uni-app'
import enterpriceItem from "./compont/enterprice-item.vue"
import vanScarch from "./compont/van-scarch.vue"
import {
  ref,

} from "vue"
import {customNav} from "@/utils/customNav";

const typeList = ref([{
  title: "李畅",
  imageUrl: "https://minio.gzryzl.com/huatai/2024-11-12/1731398520518person-bg.png",
  list: ["贵州省工程系列大数据专业技术职务"],
  time:"贵州省信息中心"
},{
  title: "申学军",
  imageUrl: "https://minio.gzryzl.com/huatai/2024-11-12/1731398520518person-bg.png",
  list: ["贵州省工程系列大数据专业技术职务"],
  time:"瓮福（集团）有限责任公司信息化部"
}])


function goUpLevel(){
  uni.navigateBack()
}
function getTalent(){
  customNav('/package_honour/pages/honour/ability')
}
</script>

<style scoped lang="less">
.type-list-box {
  .detail-list {
    background-color: #ffffff;
    padding-left: 30rpx;

  }
}
</style>
